package com.example.alibabanacosdiscoveryclient.service;

import com.example.alibabanacosdiscoveryclient.domain.Order;

import java.util.List;

/**
 * @author:guoq
 * @date:2024/11/21
 * @descripion:
 */
public interface OrderService {
    List<Order> queryList();
    /**
     * 创建订单
     */
    int create(String userId, String commodityCode, int orderCount) throws Exception;
}
